package cn.qlin.util.log;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FilterWriter;
import java.io.IOException;

public class Log {
	private static String file = "d:/l.txt";
	private static FileOutputStream out = null;
	
	static{
		try {
			out = new FileOutputStream(file);
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}
	}
	
	public static void log(String log){
		try {
			out.write(log.getBytes());
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
